package com.mingrisoft.jdbc;

import java.io.Serializable;

public class ProductEntity implements Serializable{

	/** 
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	*/ 
	private static final long serialVersionUID = 3169852443680074261L;
	
	public static final int PAGE_SIZE = 2;	//每页的记录数
	private int id;
	private String productName;
	private double productPrice;
	private int productNum;
	private String productUnit;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}


	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public double getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(double productPrice) {
		this.productPrice = productPrice;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	public String getProductUnit() {
		return productUnit;
	}

	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}

	public ProductEntity() {
		// TODO Auto-generated constructor stub
	}

}
